//
//  User.m
//  BombAbility
//
//  Created by oscar chinellato on 01/03/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import "User.h"


@implementation User

@synthesize userId;
@synthesize userName;
@synthesize bombs;

#pragma mark User implementation methods

-(id)initWithUserId:(NSString *)theId {
	
	if (!(self = [super init])) 
		return nil;
	[self setUserId:theId];
	return self;
}

-(NSString *)toString {
	
	return [[NSString alloc] initWithFormat:@"id: %@, nome: %@", userId, userName];
	
}

@end
